package cn.iocoder.yudao.module.resource.controller.admin.audiotext.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 文本生成角色音频数据新增/修改 Request VO")
@Data
public class RoleTextAudioSaveReqVO {

    @Schema(description = "唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "22450")
    private Integer id;

    @Schema(description = "角色id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32415")
    @NotNull(message = "角色id不能为空")
    private Integer roleId;

    @Schema(description = "文本id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32226")
    @NotNull(message = "文本id不能为空")
    private Integer audioTextId;

    @Schema(description = "生成的音频id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31112")
    @NotNull(message = "生成的音频id不能为空")
    private Integer audioId;

    @Schema(description = "状态： 1 待生成音频，2 已完成", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态： 1 待生成音频，2 已完成不能为空")
    private Integer status;

}